PDF Plugin for Xojo

Page.Arc Method (console safe)

Appends a circle arc to the current path. Angles are given in degrees, with 0 degrees being vertical, upward, from the (x,y) position

Arc(
   x as Single,
   y as Single,
   radius as Single,
   angle1 as Single,
   angle2 as Single)

Parameters

x
x coordinate of the center point of the circle.
y
y coordinate of the center point of the circle.
radius
The radius of the circle.
angle1
The angle where the arc starts.
angle2
The angle where the arc ends. (This must be greater than angle1)

Remarks

Just the arc filled


myPage.Arc(200,myPage.Height - 200, 75,90,180)
myPage.Fill()



Arc made into slice that reaches into the center point

myPage.MoveTo(600,myPage.Height - 200)
myPage.Arc(600,myPage.Height - 200, 75,90,180)
myPage.Fill()

See Also

Page Class